﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.IncomingMaterialsManage
{
    /// <summary>
    /// 更新入库检验单命令
    /// </summary>
    public class UpdateIncomingInspectionCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 检验结果
        /// </summary>
        public string? Result { get; set; }

        /// <summary>
        /// 检验状态（false=待检验，true=已完成）
        /// </summary>
        public bool State { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
